﻿using SanJ.FreeCare.ParticiPants;
using SanJ.FreeCare.Reactions;
using SanJ.FreeCare.TypeFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SanJ.FreeCare.AllergyIntolerances
{
    public partial class AllergyIntolerance
    {
        public AllergyIntolerance(Identifier[] identifier, string clinicalStatusCode, string verificationStatusCode, string typeCode, string[] category, string criticality, string code, Guid patientId, Guid encounterId, DateTime onsetDateTime, string onsetAge, DateTime recordedDate, ParticiPant[] particiPant, DateTime lastOccurrence, string note, Reaction[] reaction)
        {
            Identifier = identifier;
            ClinicalStatusCode = clinicalStatusCode;
            VerificationStatusCode = verificationStatusCode;
            TypeCode = typeCode;
            Category = category;
            Criticality = criticality;
            Code = code;
            PatientId = patientId;
            EncounterId = encounterId;
            OnsetDateTime = onsetDateTime;
            OnsetAge = onsetAge;
            RecordedDate = recordedDate;
            ParticiPant = particiPant;
            LastOccurrence = lastOccurrence;
            Note = note;
            Reaction = reaction;
        }

    }
}
